package com.wnxy.admin.service;

import com.github.pagehelper.PageInfo;
import com.wnxy.admin.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.admin.entity.Staff;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
public interface IRoleService extends IService<Role> {

    void add(Role role);

    PageInfo<Staff> getAll(Integer pageNum, Integer pageSize, String keyword);

    void deleteRole(Integer id);

}
